package day01;

public class Solution {
	public static boolean Find(int target, int[][] array) {

		try {
			for (int i = 0; i < array.length; i++) {
				if (target >= array[i][0] && target <= array[i][array[i].length - 1]) {
					for (int j = 0; j < array[i].length; j++) {
						if (array[i][j] == target) {
							return true;
						}
					}
				}
			}
		} catch (Exception e) {
		}
		return false;
	}

	public static void main(String[] args) {
		int[][] arr = new int[][] { {} };
		System.out.println(Find(15, arr));
	}
}